package com.yjy.fuyao.message.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yjy.fuyao.message.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 网站信息 服务类
 * </p>
 *
 * @author yjy
 * @since 2022-01-02
 */
public interface MessageService extends IService<Message> {

    Map<String, Object> pageListByUid(Page<Message> pageParam, String userId);

    Map<String, Object> pageList(Page<Message> pageParam);

    boolean removeMessageById(String id);

    boolean getNewMessageByUId(String userId);

    void readMsg(String userId);
}
